Query failed:

SELECT * FROM tree t WHERE alias = 'js/'%20+%20longdesc%20+%20'' AND public = 1 AND publicFrom < NOW() AND publicTo > NOW()

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%20longdesc%20+%20'' AND public = 1 AND publicFrom < NOW() AND publicTo > NO' at line 3